package com.formula.propertyshop.service;

public class ServiceConfigure {
	private String hostName = "http://propshop.com.sg/";
	private String serviceUrl = hostName + "api/";
	private String GCMServerRegisterUrl = serviceUrl + "?action=register_device";
	private String urlListProperty = serviceUrl+"?action=list_houses&paging=%d&itemsperpage=%d";
	private String urlProperty = serviceUrl+"?action=detail_house&id=%d";
	private String urlSearchProperty = serviceUrl+"?action=search_houses&%s";
	private String urlListCourse = serviceUrl+"?action=list_course&pageindex=%d&itemsperpage=%d";
	private String urlCourse = serviceUrl+"?action=detail_course&id=%d";
	private String urlRegisterCourse = serviceUrl+"?action=register_course";
	private String urlContactUs = serviceUrl+"?action=contact";
	private String urlGetTemplate = serviceUrl+"?action=get_template";
	private String urlFeedBack = serviceUrl+"?action=feedback";
	private String urlListLocations = serviceUrl+"?action=get_locations";
	private String urlListTypes = serviceUrl+"?action=get_type";
	private String urlLoanCalculate = serviceUrl+"?action=loan_calculator&amount=%s&rate=%s&term=%s&screenwidth=%d";
	private String urlContactInfo = hostName + "contactinfo.jpg";
	
	private String urlGoogleGetLocation = "http://maps.google.com/maps/api/geocode/xml?address=%s&ka&sensor=false";
	
	public String getUrlListProperty() {
		return urlListProperty;
	}
	public String getUrlProperty() {
		return urlProperty;
	}
	public String getUrlListTypes() {
		return urlListTypes;
	}

	public String getUrlListLocations() {
		return urlListLocations;
	}
	
	public String getUrlSearchProperty() {
		return urlSearchProperty;
	}
	public String getUrlListCourse() {
		return urlListCourse;
	}
	public String getUrlCourse() {
		return urlCourse;
	}
	public String getUrlRegisterCourse() {
		return urlRegisterCourse;
	}
	public String getUrlContactUs() {
		return urlContactUs;
	}
	public String getUrlGetTemplate() {
		return urlGetTemplate;
	}
	public String getUrlFeedBack() {
		return urlFeedBack;
	}
	public String getUrlLoanCalculate(){
		return urlLoanCalculate;
	}
	public String getUrlGoogleLocationService(){
		return urlGoogleGetLocation;		
	}
	public String getGCMServerRegisterUrl() {
		return GCMServerRegisterUrl;
	}
	public String getContactInfo(){
		return urlContactInfo;
	}
	
}
